import request from '@/utils/request'
// 查询数据列表
export function gatList(data) {
  return request({
    url: '/PB/PB_Tray/GetDataList',
    method: 'post',
    data
  })
}
export function ExportToExcel() {
  return request({
    url: '/PB/PB_Customer/ExportToExcel',
    responseType: 'blob'
  })
}
export function shangExcel(data) {
  return request({
    url: '/PB/PB_Customer/Import',
    method: 'post',
    data
  })
}
export function SaveData(data) {
  return request({
    url: '/PB/PB_Tray/SaveData',
    method: 'post',
    data
  })
}
// 托盘类型id
export function GetAllData(data) {
  return request({
    url: '/PB/PB_TrayType/GetAllData',
    method: 'post',
    data
  })
}
// 启用id
export function DisableTheData(data) {
  return request({
    url: '/PB/PB_Tray/DisableTheData',
    method: 'post',
    data
  })
}
// 禁用id
export function EnableTheData(data) {
  return request({
    url: '/PB/PB_Tray/EnableTheData',
    method: 'post',
    data
  })
}
// 删除
export function shanchu(data) {
  return request({
    url: '/PB/PB_Tray/DeleteData',
    method: 'post',
    data
  })
}
// 编辑
export function bianji(data) {
  return request({
    url: '/PB/PB_Tray/GetTheData',
    method: 'post',
    data
  })
}

